package com.cuit.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookKeep {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "userId")
    private  Integer userId;
    @TableField(value = "bookName")
    private String bookName;
    @TableField(value = "bookImg")
    private String bookImg;
    @TableField(value = "bookPrice")
    private Double bookPrice;
    @TableField(value = "bookTypeName")
    private  String bookTypeName;
    @TableField(value = "bookDesc")
    private String bookDesc;
    @TableField(value = "sellNum")
    private String sellNum;
}
